/**
 * 项目配置
 */
;(function() {
  // window.TAG_CONFIG = {}
  // var developHost = ''
  // window.TAG_CONFIG['baseUrl'] = 'http://' + (developHost ? developHost : window.location.hostname) + ':9006/api/v1/'
  // window.TAG_CONFIG['socketUrl'] = 'http://' + (developHost ? developHost : window.location.hostname) + ':9006/'

  window.TAG_CONFIG = {}
  var developHost = '127.0.0.1'
  var port = '9006'
  window.TAG_CONFIG['baseUrl'] =
    window.location.protocol +
    '//' +
    (developHost ? developHost : window.location.hostname) +
    (port ? ':' + port : '') +
    '/ots/api/v1/'
  window.TAG_CONFIG['socketUrl'] =
    window.location.protocol +
    '//' +
    (developHost ? developHost : window.location.hostname) +
    (port ? ':' + port : '') +
    '/ots/'
})()
